class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :authenticate_user!

  #Authentication for active admin only
  def authenticate_active_admin_user!
    #authenticate_user!
    #unless current_user.superadmin?
    #  flash[:alert] = "Unauthorized Access!"
    #  redirect_to root_path 
    #end
    true
  end
end
